<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('report/betList')}">注单记录</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('Report/betList')}">
        <!--用户:-->
        <!--<input type="text" class="form-control" name="user" style="width: 120px;" value="{:input('request.user_login/s','')}" placeholder="请输入{:lang('USERNAME')}">-->
        游戏:
        <select class="form-control" name="game_id" style="width: 140px;">
            <option value='0'>全部</option>
            <volist name="game_list" id="vo">
                <option value='{$vo.id}'>{$vo.game_name}</option>
            </volist>
        </select>
        站点:
        <select class="form-control" name="site_id" style="width: 140px;">
            <option value='0'>全部</option>
        </select>
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:url('Report/betList')}">清空</a>
    </form>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>记录id</th>
            <th>用户</th>
            <th>游戏</th>
            <th>站点</th>
            <th>下注总金额</th>
            <th>结算结果</th>
            <th>时间</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.user}</td>
                <td>{$vo.game}</td>
                <td>{$vo.site_id}</td>
                <td>{$vo.bet_gold}</td>
                <td>{:$vo['win_result'] == 1?'+':'-'}{$vo.win_gold|abs}</td>
                <td>{$vo.updated_time}</td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>